package com.qys.livesMall.app.user.model.dto.sys;

import com.qys.livesMall.framework.view.BaseQuery;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 用户银行卡表(UserBankCard)表实体类
 *
 * @author makejava
 * @since 2023-07-07 15:08:16
 */
@Data
public class QueryUserBankCardDTO extends BaseQuery {

    @Schema(description = "用户名")
    private String userName;

    @Schema(description = "开户名")
    private String accountName;

    @Schema(description = "银行卡号")
    private String cardNumber;

    @Schema(description = "银行")
    private Long bankName;

    @Schema(description = "卡包类型(0银行卡,1USDT")
    @NotNull(message = "type  is not null")
    private Integer type;
}

